package com.ce.pms.house.dao;


import java.util.List;

import com.ce.pms.house.model.CoalitionHouseDomain;
import com.ce.pms.house.model.FlatDomain;
import com.ce.pms.house.model.HouseDomain;

public interface IFlatDao extends IHouseDao {
	/**
	 * 功能描述:查询指定的普通住宅<br>
	 * @param keyword
	 * @return<br>
	 * Create author:罗军林<br>
	 * Create on:2009-1-8<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public FlatDomain getFlatDomain(Long keyword);
	/**
	 * 方法描述: 根据建设期ID和房号Number查询房间ID
	 * @author 胡煦
	 * Create on:2008-12-8
	 * @param projectId，houseNumber
	 * @return List<Object[]>
	 * Edit author:
	 * Edit on:
	 * 修改原因：
	 */
	public Object[] getFlatObjsByProjectAndNumber(Long projectId,String houseNumber);
	/**
	 * 跟据房间查找合并房
	 * @param houseDomain
	 * @return
	 */
	public CoalitionHouseDomain getMergeCoalition(HouseDomain houseDomain) ;

	/**
	 * 跟据房间查找产权共享房
	 * @param houseDomain
	 * @return
	 */
	public CoalitionHouseDomain getShareProRightCoalition(HouseDomain houseDomain);
	
	/**
	 * 功能描述:查询指定所有ID产权房间列表  <br>
	 * @param houseIds
	 * @return
	 *
	 * Create author:付湘辉 <br>
	 * Create on:2009-1-13  <br>
	 * Edit author:  <br>
	 * Edit on:    <br>
	 * Why:     <br>
	 */
	public List<FlatDomain> queryFlatDomainListByIds(String houseIds);
}
